package com.itheima.service;

import com.itheima.domain.Permission;
import com.itheima.domain.Role;


import java.util.List;

public interface RoleService {
    List<Role> findAll(int page, int pageSize);
    int save(Role role);
    Role findById(String id);


    List<Permission> findRoleNotPermission(String id);

    int addPermissionToRole(String roleId, String[] ids);
}
